﻿namespace Diploma.Models
{
    public partial class PlaningType
    {
        public override string ToString()
        {
            switch (Name.Trim())
            {
                case "CodePlaning":
                    return SharedStrings.CodePlaning;
                case "DocumentationPlaning":
                    return SharedStrings.DocumentationPlaning;
                case "OfficialStepsPlaning":
                    return SharedStrings.OfficialStepsPlaning;
                default:
                    return null;
            }
        }
    }
}